import request from '@/utils'

// 检查音乐是否可用  参数为id
export const checkMusic = (params) =>request({
    url:'/check/music',
    params
});

// 获取歌曲详细信息  参数为ID
export const getSongById = params => request({
    url:'/song/detail',
    params
});

// 获取歌曲歌词
export const getLyricById = params => request({
    url:'/lyric',
    params
});

// 检查歌曲是否可用 参数id 歌曲id
export const checkSong = params => request({
    url:'/check/music',
    params
});